import django_filters

from school.models import School


class SchoolFilter(django_filters.rest_framework.FilterSet):
    """
    学员的过滤类
    """
    class Meta:
        model = School
        fields = ['is_active','area']
